<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>模块化导入导出</h2>
</body>
<script type="module">
    import * as tools from './utils/tools.js'
  
    console.log(tools.add(10,90))
    console.log(tools.cheng(10,90))
   
    console.log(tools.default(10,90))
    
</script>
</html>